
import axios, {Axios} from 'axios'
const context = "/ucenter"

/**
 * 获取 Networklockrule 分页列表
*/
export function getNetworklockrulePagination(data: any) {
  return axios.get(`${context}/networklockrule/pagination`, { params: data });
}


/**
 * 获取 Networklockrule 所有数据
*/
export function getNetworklockruleAllList(data: any) {
  return axios.get(`${context}/networklockrule/all`, { params: data });
}


/**
 * 获取 Networklockrule 详情
*/
export function getNetworklockruleDetailById(id: any) {
  return axios.get(`${context}/networklockrule/${id}`, { params:{id} });
}


/**
 * 新增 Networklockrule
*/
export function addNetworklockrule(data: any) {
  return axios.post(`${context}/networklockrule`, data);
}

/**
 * 修改 Networklockrule
*/
export function updateNetworklockrule(data: any) {
  return axios.put(`${context}/networklockrule`, data);
}

/**
 * 删除 Networklockrule
*/
export function batchRemoveNetworklockrule(data: any) {
  return axios.post(`${context}/networklockrule/batchRemove`, data);
}

    